<template>
  <div class="cell">
    <el-button size="mini" type="primary" icon="el-icon-edit" @click="$emit('edit')">{{ editText }}</el-button>
    <el-button size="mini" type="danger" icon="el-icon-delete" @click="$emit('delete')">{{ deleteText }}</el-button>
    <el-button size="mini" type="warning" icon="el-icon-setting" @click="$emit('distribute')">{{ distributeText }}</el-button>
  </div>
</template>

<script>
export default {
  props: {
    editText: {
      type: String,
      default: ''
    },
    deleteText: {
      type: String,
      default: ''
    },
    distributeText: {
      type: String,
      default: ''
    }
  },
  data() {
    return {

    }
  },
  created() {

  },

  methods: {

  }
}
</script>

<style scoped lang='scss'>

</style>
